package edu.zsc.control;

public class ElevatorFlushProvider {

    //
    private Elevator elevator;

    private static ElevatorFlushProvider INSTANCE = new ElevatorFlushProvider();

    private ElevatorFlushProvider() {
    }

    public static ElevatorFlushProvider getInstance() {
        return INSTANCE;
    }

    public void bind(Elevator elevator) {
        this.elevator = elevator;
    }

    public void unBind() {
        this.elevator = null;
    }

}
